/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package daos;

import beans.Producto;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author curso
 */
public interface ProductoDAO {
    
    public void conectar()throws SQLException, ClassNotFoundException;
    public void desconectar()throws SQLException;
    public int insertar (Producto p) throws SQLException;
    public List<Producto>verProductos() throws SQLException;
    public int borrar(int id) throws SQLException;
    public int actualizar(Producto P) throws SQLException;
}
